﻿using System;
namespace Producers.Kis.Xtee.Riik.Ee.Producer.Kis {
    
    
    public partial class Dept : global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.IDept {
        
        private System.Collections.Generic.List<global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.IObligorDescription> @__obligorDescription = new System.Collections.Generic.List<global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.IObligorDescription>();
        
        private decimal @__deptTotal;
        
        private global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.Solidarity @__solidarity;
        
        public Dept() {
        }
        
        /// <summary>
        /// All parameters
        /// </summary>
        public Dept(System.Collections.Generic.List<global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.IObligorDescription> @obligorDescription, decimal @deptTotal, global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.Solidarity @solidarity) {
            this.@__obligorDescription = @obligorDescription;
            this.@__deptTotal = @deptTotal;
            this.@__solidarity = @solidarity;
        }
        
        /// <summary>
        /// Copy Constructor
        /// </summary>
        protected Dept(IDept @dept) {
            this.@__obligorDescription = @dept.ObligorDescription;
            this.@__deptTotal = @dept.DeptTotal;
            this.@__solidarity = @dept.Solidarity;
        }
        
        public virtual System.Collections.Generic.List<global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.IObligorDescription> ObligorDescription {
            get {
                return this.@__obligorDescription;
            }
            set {
                this.@__obligorDescription = value;
            }
        }
        
        public virtual decimal DeptTotal {
            get {
                return this.@__deptTotal;
            }
            set {
                this.@__deptTotal = value;
            }
        }
        
        public virtual global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.Solidarity Solidarity {
            get {
                return this.@__solidarity;
            }
            set {
                this.@__solidarity = value;
            }
        }
    }
}
